View Issue Details

IDProjectCategoryView StatusLast Update
0001332K18X001.00 SKB SWANSWpublic2021-09-07 19:02
Reporter(ALTech) Wooshin Kang Assigned To(ALTech) Wooshin Kang Due Date2021-09-03 13:55
PriorityhighSeveritys2-severeReproducibilityhave not tried
Status closedResolutionfixed 
Summary0001332: SKT needs some api which can know current output device. ( Speaker or HDMI )
DescriptionActually, skt requests two APIs like below.

SKT NUGU has to know following.

1. for audio output devices (speaker or hdmi). ( API for checking current output device )
2. for main volume level. ( API for checking current volume level )

Please implement them in Audio hal.

Thanks.
TagsNo tags attached.
Attach Tags

Users monitoring this issue

User List There are no users monitoring this issue.

Activities

(SW) River Wong

2021-08-30 14:16

developer   ~0008003

Hi Wooshin,

1.There are already APIs for it: In vendor/synaptics/vsxxx/audio/audio_device_util.cpp
int getSpeakerAudioMute(bool *mute);
*mute==true means speaker is muted.
*mute==false means speaker is unmuted.

int getHDMIAudioMute(bool *mute)
*mute==true means HDMI is muted.
*mute==false means HDMI is unmuted.

2.Currently in SWAN, Audio HAL doesn't control volume level and know the status of volume level. Volume level is controlled by MiddleWare in android framework.
   I think you need to ask SPtek to provide API to get this information.
  And also noted that, there are different streams and each stream has it's own volume level (For example, NUGU has it's own volume level, MUSIC stream has it's own volume level).
  The "main volume level" definition is not clear.

(ALTech) Wooshin Kang

2021-08-30 14:31

developer   ~0008004

1. Thanks
2. Let me check it.

(ALTech) Wooshin Kang

2021-09-01 18:26

developer   ~0008039

Last edited: 2021-09-01 18:27

Hi river,

It will be implemented by SPTEK.
... holding,

(ALTech) Wooshin Kang

2021-09-07 19:02

developer   ~0008104

I will be add by SPTEK. So i close it.

Issue History

Date Modified Username Field Change
2021-08-30 13:06 (ALTech) Wooshin Kang New Issue
2021-08-30 13:06 (ALTech) Wooshin Kang Status new => assigned
2021-08-30 13:06 (ALTech) Wooshin Kang Assigned To => (SW) River Wong
2021-08-30 14:16 (SW) River Wong Note Added: 0008003
2021-08-30 14:31 (ALTech) Wooshin Kang Note Added: 0008004
2021-08-31 09:44 (SW) Jacky Chiang Assigned To (SW) River Wong => (ALTech) Wooshin Kang
2021-09-01 18:26 (ALTech) Wooshin Kang Note Added: 0008039
2021-09-01 18:27 (ALTech) Wooshin Kang Note Edited: 0008039
2021-09-07 19:02 (ALTech) Wooshin Kang Note Added: 0008104
2021-09-07 19:02 (ALTech) Wooshin Kang Status assigned => closed
2021-09-07 19:02 (ALTech) Wooshin Kang Resolution open => fixed